import 'package:fish_redux/fish_redux.dart';
import 'package:flutter/material.dart';

import 'bottom_info/state.dart';

class MyHomeState implements Cloneable<MyHomeState> {
  ScrollController controller = new ScrollController();
  double offset;
  var scrollController = ScrollController();
  @override
  MyHomeState clone() {
    return MyHomeState()
      ..controller = controller
    ..offset = offset
    ..scrollController = scrollController;
  }
}

MyHomeState initState(Map<String, dynamic> args) {
  return MyHomeState();
}

class BottomInfoConnector
    extends ConnOp<MyHomeState, BottomInfoComponentState> {
  @override
  void set(MyHomeState state, BottomInfoComponentState subState) {}

  @override
  BottomInfoComponentState get(MyHomeState state) {
    return BottomInfoComponentState();
  }
}
